﻿using System;
using System.Configuration;

namespace LaoLuo.Configuration
{
    public class ConfigurationManagerHelper
    {
        public static T GetSection<T>(String sectionName)
            where T : ConfigurationSection
        {
            return ConfigurationManager.GetSection(sectionName) as T;
        }
    }
}
